package com.prs.crm.dao.oa.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.oa.CompanyPictureDao;
import com.prs.crm.domain.oa.CompanyPicture;

public class CompanyPictureDaoImpl extends BaseDaoImpl<CompanyPicture> implements CompanyPictureDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<CompanyPicture> geAllCompanyPicture() {
		Criteria criteria=this.getSession().createCriteria(CompanyPicture.class);
		return criteria.list();
	}

}
